import request from "@/utils/request";
import cfg from "@/config/config";

const authority = {
  /**
   * 根据登录人分组编号与菜单编号查询权限
   * @param authorityDto groupNo 登录人分组编号 menuBh 菜单编号
   * @return 权限代码
   */
  findAuthorityMenuSet: param => {
    return request(
      "post",
      cfg.apiUrl + "api/authority/findAuthorityMenuSet",
      param
    );
  }
};

export default authority;
